Defer bailing out workspace root probing
authorAlex Crichton <alex@alexcrichton.com>
Wed, 13 Dec 2017 21:19:12 +0000 (13:19 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 13 Dec 2017 21:19:12 +0000 (13:19 -0800)
commit4f28bc1aac90c3764aa188d4a63a0e9771ccbc30
tree2c2af6930d1a679421885162fd61cc2854c24c9e
parentbda218fa62600193702f9a4d5eb7d325ce7328b5
Defer bailing out workspace root probing

This commit alters the logic to bail out on probing for `CARGO_HOME` to
do it a little later rather than early on in the loop iteration, notably
allowing members to reside in `CARGO_HOME` itself.

Closes #4815
src/cargo/core/workspace.rs
tests/workspaces.rs